/*
 * Created on Feb 1, 2005
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package jxta.chat.voice;

import org.xiph.speex.spi.SpeexEncoding;

/**
 * @author Ravi
 *
 * @modified 2005-22-03 jamoore add getBufferSize()
 */
public interface AudioResource {
	
	public static final int BLOCK_SIZE = 640;	// default = 640
	public static final int SAMPLE_RATE = 32000;	// default = 16000
	public static final int MODE = 1;	// default = 1
	public static final int QUALITY = SpeexEncoding.SPEEX_Q1.getQuality ();//SPEEX_Q8.getQuality();	// default = SPEEX_Q8
	public static final int CHANNELS = 1;	// default = 1
	public static final int LINE_BUFFER_SIZE = 8192;

    public int getBufferSize();
    
}
